Optimal. Leaf size=42 \[ \frac{\left (a+b x^2\right )^3 (A b-a B)}{6 b^2}+\frac{B \left (a+b x^2\right )^4}{8 b^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.159326, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{\left (a+b x^2\right )^3 (A b-a B)}{6 b^2}+\frac{B \left (a+b x^2\right )^4}{8 b^2} \]
Antiderivative was successfully verified.
[In] Int[x*(a + b*x^2)^2*(A + B*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 15.7249, size = 34, normalized size = 0.81 \[ \frac{B \left (a + b x^{2}\right )^{4}}{8 b^{2}} + \frac{\left (a + b x^{2}\right )^{3} \left (A b - B a\right )}{6 b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(b*x**2+a)**2*(B*x**2+A),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0216139, size = 51, normalized size = 1.21 \[ \frac{1}{24} x^2 \left (12 a^2 A+4 b x^4 (2 a B+A b)+6 a x^2 (a B+2 A b)+3 b^2 B x^6\right ) \]
Antiderivative was successfully verified.
[In] Integrate[x*(a + b*x^2)^2*(A + B*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.001, size = 52, normalized size = 1.2 \[{\frac{{b}^{2}B{x}^{8}}{8}}+{\frac{ \left ({b}^{2}A+2\,abB \right ){x}^{6}}{6}}+{\frac{ \left ( 2\,abA+{a}^{2}B \right ){x}^{4}}{4}}+{\frac{{a}^{2}A{x}^{2}}{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(b*x^2+a)^2*(B*x^2+A),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.34988, size = 69, normalized size = 1.64 \[ \frac{1}{8} \, B b^{2} x^{8} + \frac{1}{6} \,{\left (2 \, B a b + A b^{2}\right )} x^{6} + \frac{1}{2} \, A a^{2} x^{2} + \frac{1}{4} \,{\left (B a^{2} + 2 \, A a b\right )} x^{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2*x,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.220117, size = 1, normalized size = 0.02 \[ \frac{1}{8} x^{8} b^{2} B + \frac{1}{3} x^{6} b a B + \frac{1}{6} x^{6} b^{2} A + \frac{1}{4} x^{4} a^{2} B + \frac{1}{2} x^{4} b a A + \frac{1}{2} x^{2} a^{2} A \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2*x,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.120903, size = 53, normalized size = 1.26 \[ \frac{A a^{2} x^{2}}{2} + \frac{B b^{2} x^{8}}{8} + x^{6} \left (\frac{A b^{2}}{6} + \frac{B a b}{3}\right ) + x^{4} \left (\frac{A a b}{2} + \frac{B a^{2}}{4}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(b*x**2+a)**2*(B*x**2+A),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.249948, size = 72, normalized size = 1.71 \[ \frac{1}{8} \, B b^{2} x^{8} + \frac{1}{3} \, B a b x^{6} + \frac{1}{6} \, A b^{2} x^{6} + \frac{1}{4} \, B a^{2} x^{4} + \frac{1}{2} \, A a b x^{4} + \frac{1}{2} \, A a^{2} x^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2*x,x, algorithm="giac")
[Out]